LC_EVENT_VIEWBLOCK Home

LiteCAD generates LC_EVENT_VIEWBLOCK event when a window have changed connection to a block.
Programmatically it is done with lcWndSetBlock function.

The following properties are used for this event type:

Property Description
LC_PROP_EVENT_TYPE Value LC_EVENT_VIEWBLOCK
LC_PROP_EVENT_WND Handle to a graphics window
LC_PROP_EVENT_DRW Handle to a drawing, viewed in the window
LC_PROP_EVENT_BLOCK Handle to active block (linked to the window)